luci-mod-battstatus: preparing for other devices
authorCoia Prant <[email protected]>
Fri, 1 Aug 2025 11:49:50 +0000 (11:49 +0000)
committerPaul Donald <[email protected]>
Mon, 29 Sep 2025 15:40:44 +0000 (17:40 +0200)
commitd42dce3ea29762ae85452bf7eebcda41e4bbc4b5
tree2e23e1c429d3f518a0752e2a912ffdefdc10c0ec
parent65c1075b869d16b31f4479f3d7025804f9cf08b7
luci-mod-battstatus: preparing for other devices

For standard devices, we can read from `/sys/class/power_supply`

Add board checks to implement different solutions for different boards

Signed-off-by: Coia Prant <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-battstatus/Makefile
modules/luci-mod-battstatus/root/usr/libexec/rpcd/luci.battstatus